package cn.picclife.mwx.common.core.util.redis;

import javax.annotation.Resource;

import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Repository;

import cn.picclife.mwx.common.core.util.cache.redis.RedisUtilAbstract;

@Repository("redisUtil")
public class RedisUtil extends RedisUtilAbstract{
	
	@Resource(name = "redisTemplate")
	RedisTemplate<String, Object> binRedisTemplate;
	@Resource(name = "stringRedisTemplate")
	RedisTemplate<String, String> strRedisTemplate;

	@Override
	public RedisTemplate<String, Object> getBinRedisTemplate() {
		return binRedisTemplate;
	}

	@Override
	public RedisTemplate<String, String> getStrRedisTemplate() {
		return strRedisTemplate;
	}

}
